package com.example.springbootwl08.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author 宗雨
 * @create 2024-02-27 11:35
 * project_name:ssm
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sp_order_goods")
public class OrderGoods {
    //
    private Integer id;
    //订单id
    private Integer orderId;
    //商品id
    private Integer goodsId;
    //商品单价
    private BigDecimal goodsPrice;
    //购买单个商品数量
    private Byte goodsNumber;
    //商品小计价格
    private BigDecimal goodsTotalPrice;
}
